package top.kaoshanji.p2ch08b;

import java.lang.annotation.ElementType;
import java.lang.annotation.Target;

/**
 * 代码清单-p2ch08b-274页a：注解类型声明中使用枚举类型的示例
 * author kaoshanji
 * ^_^
 * create time 2025/1/23 16:54
 */
@Target(ElementType.TYPE)
public @interface Employee {

    enum EMPLOYEE_TYPE {REGULAR, CONTRACT};
    EMPLOYEE_TYPE value();

}
